﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;


namespace ShopCartOnline.Models
{
    [Table("NhaSanXuat")]
    public class NhaSanXuat
    {
        [Key]
        public int MaNSX { get; set; }

        [Required]
        [Display(Name = "Tên nhà sản xuất")]
        //[Column("TenNSX", TypeName = "nvarchar")]
        [Column(TypeName = "nvarchar")]
        [StringLength(100)]
        public string TenNSX { get; set; }

       
    }
}